﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TestWS
{
    public class datosmini
    {
        public int varobj;
        public float valorobj;
        public float? cotainf;
        public float? cotasup;
        public datosmini() { }
        public datosmini(int v, float vo, float? ci, float? cs)
        {
            varobj = v;
            valorobj = vo;
            cotainf = ci;
            cotasup = cs;
        }
    }
    public class datosrestric
    {
        public int idrestric;
        public int idvarobj1;
        public float valorobj1;
        public int idvarobj2;
        public float valorobj2;
        public char tiporestric;
        public float valorrestric;
        public datosrestric() { }
        public datosrestric(int idres, int idvaro1, float valoro1, int idvaro2, float valoro2, char tipores, float valorres)
        {
            idrestric = idres;
            idvarobj1 = idvaro1;
            valorobj1 = valoro1;
            idvarobj2 = idvaro2;
            valorobj2 = valoro2;
            tiporestric = tipores;
            valorrestric = valorres;
        }
    }
}